import { createApp,type Directive } from 'vue'

//引入组件
import globalComponents from '@/components';
import router from '@/router';
import store from '@/store';
import i18n from '@/locale';
import directive from '@/directive';
import './mock';
import App from './App.vue';
import '@/assets/style/global.less';


// 引入Arco UI库
import ArcoVue from '@arco-design/web-vue';
//额外引入 Arco Design Icon图标库
import ArcoVueIcon from '@arco-design/web-vue/es/icon';
// 加载 svg 图标
import 'virtual:svg-icons-register'
const app = createApp(App);


app.use(ArcoVue, {});
app.use(ArcoVueIcon);
app.use(router);
app.use(store);
app.use(i18n);
app.use(globalComponents);
app.use(directive);
app.mount('#app')
